package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {

    //提交订单
    void save(Order order);

    //订单查询
    Page<Order> findByPage(Integer pageNum, Integer pageSize, String number, Date beginTime, Date endTime);

    //查询订单
    Page<Order> findNewPage(Integer pageNum, Integer pageSize);
}
